README FILE FOR "Gender and willingness to lead – does the gender composition of teams matter?"

SUMMARY OF FILES

- data.dta: Contains the data generated from an experiment conducted at the laboratory for experimental economics at the University of Zurich in May 2017. In total, 25 sessions were run with 5 teams and 5 sessions with 4 teams, yielding a total of 580 participants (145 teams). Participants were students from the University of Zurich or the Swiss Federal Institute of Technology.

- figures_tables_code.do: Generates all relevant tables and figures in the paper (figures 2-5 and tables 1-2).

All files were created in Stata 15. All provided output was produced using Stata 15. To execute the code, store the files in the same directory, replace "XXX" on row 5 of figures_tables_code.do with the current directory, and execute figures_tables_code.do.

DESCRIPTION OF VARIABLES

Below is a list of all variables in data.dta:
                        
------------------------------------------------------------------------------------------------------------------
variable name        			variable description
------------------------------------------------------------------------------------------------------------------
female              			Indicator for female participant
male                    		Indicator for male participant
group_id                		ID number for team
group_female            		Indicator for female-majority team
group_male              		Indicator for male-majority team
session_id              		ID number for experimental session

leadasp                			Willingness to lead (1=lowest, 10=highest)
leader               			Indicator for team leader
candidate               		Indicator for candidate in the election

Performance_1           		Performance in stage 1 (0=worst, 50=best)
Performance_8           		Performance in stage 8 (0=worst, 50=best)
Performance_9          			Performance in stage 9 (0=worst, 50=best)
rank_perf_1             		Relative performance in stage 1 (1=best, 4=worst)
guess_rank_1         			Guess of relative performance in stage 1 (1=best, 4=worst)    
rank_perf_1_reversed    		Relative performance stage 1 (1=worst, 4=best)
guess_rank_1_reversed   		Guess of relative performance stage 1 (1=worst, 4=best)
      		
relative_updating      			Updating in stage 3, relative to team (0-1)
influence               		Relative influence in group discussion (0=min, 1=max)
 
vote_rank               		Rank in election (no correction for ties)         
election_rank        			Rank in election (ties broken randomly) (1=best, 4=worst)
election_guess_rank     		Guess of rank in election (1=best, 4=worst)
election_rank_ties_averaged_rev		Rank in election (ties averaged) (1=worst, 4=best)
election_guess_rank_reversed		Guess of rank in election (1=worst, 4=best)

belief_gender           		Questionnaire: Which gender is better at task (0=men, 10=women)
belief_leader           		Questionnaire: Which gender is better leader (0=men, 10=women)
iatresultmain           		IAT score (2 = strong male bias, -2 = strong female bias)
mean_othergr_iatresmain                 Mean IAT scores of other team members

male_X_group_male                    	Interaction Male X Male-majority team
male_X_rank_perf_1                     	Interaction Male X Relative performance first task
male_X_guess_rank_1                     Interaction Male X Guess of relative performance first task
male_X_election_guess_rank              Interaction Male X Guess of rank in election
male_X_PenaltyPoints_8                  Interaction Male X Penalty points stage 8
male_X_elec_rank_ties_av_rev            Interaction Male X Rank in election (ties averaged, 1=worst, 4=best)
male_X_relative_updating                Interaction Male X Updating in stage 3 (relative to team)
male_X_influence                     	Interaction Male X influence on team decision
male_X_othergr_iatresmain               Interaction Male X Mean IAT scores of other team members

Ranking1_1              		Ranking of item 1 in stage 1
Ranking2_1              		Ranking of item 2 in stage 1
Ranking3_1              		Ranking of item 3 in stage 1
Ranking4_1              		Ranking of item 4 in stage 1
Ranking5_1              		Ranking of item 5 in stage 1
Ranking6_1            		  	Ranking of item 6 in stage 1
Ranking7_1              		Ranking of item 7 in stage 1
Ranking8_1              		Ranking of item 8 in stage 1
Ranking9_1              		Ranking of item 9 in stage 1
Ranking10_1             		Ranking of item 10 in stage 1
PenaltyPoints_1         		Penalty points in stage 1 (0=best, 50=worst)

Ranking1_2              		Ranking of item 1 in stage 2
Ranking2_2              		Ranking of item 2 in stage 2
Ranking3_2              		Ranking of item 3 in stage 2
Ranking4_2              		Ranking of item 4 in stage 2
Ranking5_2              		Ranking of item 5 in stage 2
Ranking6_2              		Ranking of item 6 in stage 2
Ranking7_2              		Ranking of item 7 in stage 2
Ranking8_2              		Ranking of item 8 in stage 2
Ranking9_2              		Ranking of item 9 in stage 2
Ranking10_2             		Ranking of item 10 in stage 2
PenaltyPoints_2         		Penalty points in stage 2 (0=best, 50=worst)

Ranking1_3              		Ranking of item 1 in stage 3
Ranking2_3              		Ranking of item 2 in stage 3
Ranking3_3              		Ranking of item 3 in stage 3
Ranking4_3              		Ranking of item 4 in stage 3
Ranking5_3              		Ranking of item 5 in stage 3
Ranking6_3              		Ranking of item 6 in stage 3
Ranking7_3              		Ranking of item 7 in stage 3
Ranking8_3              		Ranking of item 8 in stage 3
Ranking9_3              		Ranking of item 9 in stage 3
Ranking10_3             		Ranking of item 10 in stage 3
PenaltyPoints_3         		Penalty points in stage 3 (0=best, 50=worst)

Ranking1_8              		Ranking of item 1 in stage 8
Ranking2_8              		Ranking of item 2 in stage 8
Ranking3_8              		Ranking of item 3 in stage 8
Ranking4_8              		Ranking of item 4 in stage 8
Ranking5_8              		Ranking of item 5 in stage 8
Ranking6_8              		Ranking of item 6 in stage 8
Ranking7_8              		Ranking of item 7 in stage 8
Ranking8_8              		Ranking of item 8 in stage 8
Ranking9_8              		Ranking of item 9 in stage 8
Ranking10_8             		Ranking of item 10 in stage 8
PenaltyPoints_8         		Penalty points in stage 8 (0=best, 50=worst)

Ranking1_9            	  		Ranking of item 1 in stage 9
Ranking2_9              		Ranking of item 2 in stage 9
Ranking3_9              		Ranking of item 3 in stage 9
Ranking4_9              		Ranking of item 4 in stage 9
Ranking5_9              		Ranking of item 5 in stage 9
Ranking6_9              		Ranking of item 6 in stage 9
Ranking7_9              		Ranking of item 7 in stage 9
Ranking8_9              		Ranking of item 8 in stage 9
Ranking9_9              		Ranking of item 9 in stage 9
Ranking10_9             		Ranking of item 10 in stage 9
PenaltyPoints_9         		Penalty points in stage 9, individual (0=best, 50=worst)
------------------------------------------------------------------------------------------------------------------

